Skip to content

fix: render extension widgets next to the editor - #358

Merged
agegr merged 2 commits into
agegr:mainfrom
kaiwishc:fix/widget-editor-placement
Aug 7, 2026
Merged

fix: render extension widgets next to the editor#358
agegr merged 2 commits into
agegr:mainfrom
kaiwishc:fix/widget-editor-placement

Conversation

@kaiwishc

@kaiwishc kaiwishc commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Summary

aboveEditor and belowEditor refer to the chat editor, but pi-web rendered those widgets in the scrollable message list. This moves them into the editor area, so they stay visible while the user reads a long conversation.

  • aboveEditor widgets render directly above the chat input.
  • belowEditor widgets render directly below the chat input.
  • Empty sessions use the same layout.

Testing

  • Confirmed that editor widgets are outside the scrollable message container.
  • node_modules/.bin/tsc --noEmit
  • npm run lint

Scope

This changes widget placement only. It does not change the extension widget API or its server-side rendering and lifecycle behavior.

@agegr
agegr merged commit 9e4ca65 into agegr:main Aug 7, 2026
jingxi1 pushed a commit to jingxi1/pi-web that referenced this pull request Aug 11, 2026
* fix: render extension widgets next to the editor

* fix: cap extension widget lines

---------

Co-authored-by: Alex Yang <agegcn@gmail.com>
(cherry picked from commit 9e4ca65)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants